package com.jhgk.jhcee.auth.mapper;

import com.jhgk.jhcee.auth.model.OptionalMode;
import com.jhgk.jhcee.auth.model.OptionalModeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OptionalModeMapper {
    long countByExample(OptionalModeExample example);

    int deleteByExample(OptionalModeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(OptionalMode record);

    int insertSelective(OptionalMode record);

    List<OptionalMode> selectByExample(OptionalModeExample example);

    OptionalMode selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") OptionalMode record, @Param("example") OptionalModeExample example);

    int updateByExample(@Param("record") OptionalMode record, @Param("example") OptionalModeExample example);

    int updateByPrimaryKeySelective(OptionalMode record);

    int updateByPrimaryKey(OptionalMode record);
}